package com.jike.mahjong.dao;

import com.jike.mahjong.model.CoinRecordModel;
import com.jike.mahjong.model.MessageModel;
import com.jike.mahjong.model.StatisticsModel;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by star on 2016/11/4.
 */
@Repository("statisticsDao")
public interface StatisticsDao {

    public List<Map<String, Object>> queryIncomDiamondByDay(Map<String,Object> params);

    List<Map<String, Object>> queryAllIncomDiamond();

    List<Map<String, Object>> queryPayDiamonByDay(Map<String,Object> params);

    List<Map<String, Object>> queryPayDiamonAll(Map<String,Object> params);


    public List<CoinRecordModel> queryPayRecord(Map<String,Object> para);

    public Integer countPayRecord(Map<String,Object> para);

    public Integer countOrderInfoByAgentId(Map<String,Object> para);


    List<Map<String, Object>> queryShowPayDiamond(Map<String,Object> params);

    List<Map<String, Object>> queryShowIncomeDiamond(Map<String,Object> params);


    List<Map<String, Object>> queryOrderInfoByAgentId(Map<String,Object> params);

    List<Map<String, Object>> queryRechargeInfoForAgent(Map<String,Object> params);
    Integer countRechargeInfoForAgent(Map<String,Object> params);

    List<Map<String, Object>> queryRechargeRecordForAgent(Map<String,Object> params);

    Integer countRechargeRecordForAgent(Map<String,Object> params);

    Integer selectDayIncomeFromOrder(Map<String,Object> params);
    Integer selectDayIncomeFromPlat(Map<String,Object> params);
    Integer selectWeekIncomeFromOrder(Map<String,Object> params);
    Integer selectWeekIncomeFromPlat(Map<String,Object> params);
    Integer selectAllIncomeFromOrder(Map<String,Object> params);
    Integer selectAllIncomeFromPlat(Map<String,Object> params);


}
